<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/commons/jsp/taglibs.jsp" %>
<head>
    <title>公共平台 </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style type="text/css">
        .tdCss {
            border: solid #add9c0;
            border-width: 0px 1px 1px 0px;
            height: 30px;
        }

        .tableCss {
            border: solid #add9c0;
            border-width: 1px 0px 0px 1px;
            width: 100%;
        }
    </style>
    <!-- 样式文件的引入 -->
    <script type="text/javascript" src="${ctx}/commons/js/jquery-1.8.0.min.js"></script>
    <!-- 开发使用的公用js方法 -->
    <script type="text/javascript" src="${ctx}/commons/js/common.js"></script>
</head>

<body style="width: 1040px;margin: 0 auto;font-size: 24px;">
<div style="width: 100%;text-align: right;height: 40px;"><input type="button" style="height: 30px;width: 80px;"
                                                                value="打印" onclick="doPrint();"/></div>
<!--startprint-->
<p style="text-align:center">
    <strong><span
            style="font-size: 50px;font-weight: 900;text-align: center;padding-top: 10px;">中标（成交）通知书</span></strong>
</p>
<p style="margin-bottom: 22px">
    <span style="font-size:22px;font-family:宋体">&nbsp;</span>
</p>
<div style="width:900px;margin: 0px auto;">
    <p style="line-height: 200%">
        <span style="font-size: 30px;">${pro.winnerName}： </span>
    </p>
    <p style="text-indent: 37px;line-height: 200%">
			 <span style="font-size: 30px;line-height: 200%;font-family:宋体">你单位于 <span
                     style="text-decoration:underline;">“${pro.auctionName}”
             </span>项目（编号：${pro.code }）产权竞拍中，经我单位审核，被确定为中标（成交）人。中标（成交） 金额为（人民币）<fmt:formatNumber value="${pro.hitPrice }" type="currency" pattern="#,###.00#"/>元 (大写：<span id="MaxBidAmout">${pro.hitPrice }</span>)
				 请你单位在收到中标（成交）通知书后，于7个工作日内与我单位签订合同。 </span>
    </p>
    <p style="margin-top:auto;margin-bottom: auto;text-align:center">
        <span style="font-size: 30px;font-family:宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
    </p>
    <p style="margin-top:auto;margin-bottom: auto;text-align:right">
        <span style="font-size: 30px;font-family:宋体">&nbsp;</span>
    </p>
    <p style="margin-top:auto;margin-bottom: auto;text-align:right">
        <span style="font-size: 30px;font-family:宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
            style="font-size: 30px;font-family:宋体">${pro.ownerName}（公章）</span>
    </p>
    <p style="margin-top:auto;margin-bottom: auto;text-align:right">
        <span style="font-size: 30px;font-family:宋体"><fmt:formatDate value="${pro.releaseAlertDoc}"
                                                                     pattern="yyy年MM月dd日 "/></span>
    </p>
    <p style="margin-top:auto;margin-bottom: auto;text-align:right">
        <span style="font-size: 30px;font-family:宋体">&nbsp;</span>
    </p>
    <p style="margin-top:auto;margin-bottom: auto;text-align:right">
        <span style="font-size: 30px;font-family:宋体">&nbsp;</span>
    </p>
    <p>
        <span style="font-size: 30px;font-family:宋体">鉴证方（公章）：</span><span style="font-size: 30px;font-family:宋体">&nbsp;&nbsp;&nbsp;</span>
    </p>
    <p>
        <span style="font-size: 30px;font-family:宋体"><fmt:formatDate value="${pro.releaseAlertDoc}"
                                                                     pattern="yyy年MM月dd日 "/></span>
    </p>
    <p>
        &nbsp;
    </p>
    <p>
        <br/>
    </p>
</div>
<!--endprint-->
<script type="text/javascript">


    function doPrint() {
        bdhtml = window.document.body.innerHTML;
        sprnstr = "<!--startprint-->";
        eprnstr = "<!--endprint-->";
        prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
        prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
        window.document.body.innerHTML = prnhtml;
        pagesetup_null();
        window.print();
    }
    function pagesetup_null() {
        var hkey_root, hkey_path, hkey_key
        hkey_root = "HKEY_CURRENT_USER"
        hkey_path = "SoftwareMicrosoftInternet ExplorerPageSetup"
        try {
            var RegWsh = new ActiveXObject("WScript.Shell")
            hkey_key = "header"
            RegWsh.RegWrite(hkey_root + hkey_path + hkey_key, "")
            hkey_key = "footer"
            RegWsh.RegWrite(hkey_root + hkey_path + hkey_key, "")
        } catch (e) {
        }
    }

    $(function () {
        var bidAmout = parseFloat($("#MaxBidAmout").text());
        //转化大写
        var maxBidAmout = convertCurrency(bidAmout);
        $("#MaxBidAmout").text(maxBidAmout)
    });

</script>
</body>
</html>
